package com.itheima.health.service;

import com.itheima.health.pojo.Member;

/**
 * 会员接口
 *
 * @author zhiHaoD
 * @since 2022/11/22 21:05
 */
public interface MemberService {
    /**
     * 根据手机号查询会员
     * @param telephone
     * @return
     */
    Member findByTelephone(String telephone);

    /**
     * 新增会员
     * @param member
     */
    void add(Member member);
}